package org.jeecg.modules.zcgl.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.system.base.entity.DelFlagBaseEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 对账单对应订单详情
 * @Author: jeecg-boot
 * @Date:   2021-01-21
 * @Version: V1.0
 */
@Data
@TableName("zcgl_statement_account_details_order")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="zcgl_statement_account_details_order对象", description="对账单对应订单详情")
public class StatementAccountDetailsOrder extends DelFlagBaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
	/**客户信息*/
	@Excel(name = "客户信息", width = 15)
    @ApiModelProperty(value = "客户信息")
    private java.lang.String customerId;
	/**对账单ID*/
	@Excel(name = "对账单ID", width = 15)
    @ApiModelProperty(value = "对账单ID")
    private java.lang.String statementAccountId;
	/**对账单详情ID*/
	@Excel(name = "对账单详情ID", width = 15)
    @ApiModelProperty(value = "对账单详情ID")
    private java.lang.String statementAccountDetailsId;
	/**支付应收款项ID*/
	@Excel(name = "支付应收款项ID", width = 15)
    @ApiModelProperty(value = "支付应收款项ID")
    private java.lang.String receivablesId;
	/**订单支付时间*/
	@Excel(name = "订单支付时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "订单支付时间")
    private java.util.Date tradeFinishTime;
	/**交易状态：0.成功*/
	@Excel(name = "交易状态：0.成功", dicCode = "zcgl_statement_account_order_status", width = 15)
    @Dict(dicCode = "zcgl_statement_account_order_status")
    @ApiModelProperty(value = "交易状态：0.成功")
    private java.lang.Integer tradeState;
	/**订单类型：0缴费，1预存*/
    @Excel(name = "订单类型：0缴费，1预存", width = 15, dicCode = "zcgl_statement_account_order_type")
    @Dict(dicCode = "zcgl_statement_account_order_type")
    @ApiModelProperty(value = "订单类型：0缴费，1预存")
    private java.lang.Integer orderType;
	/**订单支付方式*/
	@Excel(name = "订单支付方式", width = 15)
    @ApiModelProperty(value = "订单支付方式")
    private java.lang.String tradeType;
	/**支付订单号*/
	@Excel(name = "支付订单号", width = 15)
    @ApiModelProperty(value = "支付订单号")
    private java.lang.String transactionId;
}
